Return

Edit Resources: AvailDiscreteWindows

Format

SCHED / EditResource '<ResourceName>' AvailDiscreteWindows <# Windows> <DisWindow1Start> <DisWindow1Stop> '<DisWindow1Comment>' ... <DisWindowNStart> <DisWindowNStop> '<DisWindowNComment>'

Description

The AvailDiscreteWindows attribute under EditResource defines the available or unavailable windows of a resource (depending on default availability). These windows occur as a singular instance defined by the user. When this command is sent, all previous discrete windows are deleted.

Parameters

ParameterDescription
# WindowsAn integer value that on its own indicates the number of windows within the command.
Window Start/StopThe format is YYYY/MM/DD_HH:MM:SS or YYYY/MM/DD_HH:MM:SS.fff.
Window CommentA string of text in single quotes. An empty string may be used if no comment is desired.

Examples

The Resource Madrid26 is set to be unavailable from 2017/01/02 6:00:00 to 2017/01/03 12:00:00 and gives the window a description of Antenna Maintenance

SCHED / EditResource 'Madrid26' AvailDiscreteWindows 1 2017/01/02_06:00:00 2017/01/03_12:00:00 'Antenna Maintenance'


The resource Satellite is set to be unavailable from 2017/02/09 11:45:00 to 2017/02/09 13:00:00 and gives the window a description of Sun Outage.

SCHED / EditResource 'Satellite' AvailDiscreteWindows 1 2017/02/09_11:45:00 2017/02/09_13:30:00 'Sun Outage'